package com.gitee.ykr.rpcserver;

import com.gitee.ykr.lightweight.rpc.annotation.EnableNettyRpc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author YKR
 * @Describe
 * @date 2021/9/6
 */
@RestController
@SpringBootApplication
@EnableNettyRpc(basePackages = "com.gitee.ykr")
public class RpcServerApplication {

    public static void main(String[] args) {
        SpringApplication.run( RpcServerApplication.class, args );
    }



    @GetMapping("/test")
    public void test() {
    }
}
